body {
    padding-top: 95px;
    background: #666;
    color: #fff;
}

a {
    cursor: pointer;
}

.navbar-fixed-top {
    left: 0;
    right: 0;
    padding: 0;
    margin: 0;
    min-height: 100px;
    border: none;
    border-radius: 0;
}

.navbar-fixed-top.alert {
    text-align: center;
    min-height: 21px;
    margin: 0 15px;
    padding: 2px;
}

.navbar-default {
    background-color: inherit;
}

.navbar h4 {
    margin: 5px 0;
}

.navbar input {
    padding: 0 5px;
    border: none;
    border-radius: 0;
    border-bottom: 1px dashed #999;
    background-color: transparent;
}

.navbar input#filter {
    width: 100%;
    border-bottom-style: solid;
}

.navbar form {
    margin-top: 5px;
}

.navbar button {
    padding-left: 22px;
    background-repeat: no-repeat;
    background-position: left center;
}

.navbar button.view-mode {
    background-image: url("../images/view-mode.png");
}

.navbar button.edit-mode {
    background-image: url("../images/edit-mode.png");
}

.navbar button.contact-add {
    background-image: url("../images/contact-add.png");
}

.navbar button.contacts-delete {
    background-image: url("../images/contacts-delete.png");
}

button.close {
    margin: 0 2px;
    padding: 0;
}

.cards {
    margin-bottom: 10px;
}

.card-container {
    padding: 5px;
}

.img-thumbnail {
    max-width: none;
}

.card {
    padding: 0;
    box-shadow: 7px 7px 7px rgba(33, 33, 33, .7);
    color: #000;
    width: 100%;
}

.table {
    margin-bottom: 0;
    width: 100%;
}

.table>thead>tr>th,.table>tbody>tr>td {
    padding: 0 0 2px 0;
    border: none;
    height: 20px;
}

.table>tbody>tr>td:FIRST-CHILD {
    padding-left: 8px;
}

.card-container:nth-child(odd) .card {
    background-color: #ffc;
    border: 2px solid #cfc;
}

.card-container:nth-child(even) .card {
    background-color: #cfc;
    border: 2px solid #ffc;
}

.card:hover {
    box-shadow: 10px 10px 7px rgba(0, 0, 0, .7);
    position: relative;
    z-index: 5;
}

.card:hover span {
    visibility: visible;
    opacity: .5;
}

.card span:hover {
    opacity: 1;
}

.card:hover input {
    border-bottom-color: #999;
}

.has-error {
    color: #a94442 !important;
}

.has-error input {
    border-bottom: #a94442 1px solid !important;
}

.contact-label {
    text-align: right;
}

.card input {
    width: 95%;
    padding: 0 4px;
    border: none;
    border-bottom: 1px dotted transparent;
    background-color: transparent;
}

.contact-name input {
    width: 80%;
}

.card input[type=checkbox] {
    float: right;
    width: 20px;
    height: 20px;
}

.loading {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1000;
    background: url("../images/loading.gif") transparent center no-repeat;
}

.loading span {
    display: none;
}

button.load-more {
    margin-top: 10px;
}